package cn.bossx.product.domain;

import cn.bossx.basic.domain.BaseDomain;
import cn.bossx.org.domain.Shop;
import cn.bossx.user.domain.User;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class Product extends BaseDomain {
    private String name;
    private String resources;
    private BigDecimal saleprice;
    private Date offsaletime;
    private Date onsaletime;
    private Integer state = 0;
    private BigDecimal costprice;
    private Date createtime = new Date();
    private Long salecount;

    private ProductDetail detail = new ProductDetail();

    private Long shop_id;
    private Shop shop;
    private Long user_id;
    private User user;
    private Long adopt_id;
    private Long search_master_msg_id;

    private Integer payType;

}
